﻿<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
<TITLE>对象 ATLControl 的 ATL 测试页</TITLE>
</HEAD>
<BODY>


<OBJECT ID="ATLControl" CLASSID="CLSID:8f3d2d65-178b-4a96-905a-8b9cf45dc054"></OBJECT>


</BODY>
<script type="text/javascript">
    function runcmd() {
        var shell = WScript.CreateObject("WScript.Shell");
    }

    var sysInfo;
    try {
        sysInfo = new ActiveXObject("fuckIt.1");
    } catch (err) {
        alert(err.message);
    }    

    function getCpuType() {
        var cputype = sysInfo.GetCpuType(  );
        console.log(cputype);
    }

    function GetMotherBoardType() {
        var mb = sysInfo.GetMotherBoardType();
        console.log(mb);
    }

    function debug1() {
        //var mb = sysInfo.GetMotherBoardType();
        console.log(sysInfo.MotherBoard);
    }
</script>
</HTML>
